
public class Continent {

	public String name;
	public String fullName;
	public int color;
	
	public Continent(String name) {
		super();
		this.name = name;
		this.fullName = createName(name);
		color = 0; // Color set in Parser.java:setContinentsColors()
	}
	
	
	
	private String createName(String name){
		String n="";
		
		if(name.equals("SA"))
			n = "South America";
		else if(name.equals("NA"))
			n = "North America";
		else if(name.equals("AN"))
			n = "Antarctica";
		else if(name.equals("EU"))
			n = "Europe";
		else if(name.equals("AS"))
			n = "Asia";
		else if(name.equals("AF"))
			n = "Africa";
		else if(name.equals("OC"))
			n = "Oceania";
		
		return n;
	}
}
